<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataTypeCheckPage.aspx.cs" Inherits="DataTypeCheckPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 70%">
            <tr>
                <td style="width: 154px; height: 21px">
                </td>
                <td style="width: 312px; height: 21px">
                    <strong>Personal Information</strong></td>
            </tr>
            <tr>
                <td style="width: 154px; height: 21px">
                </td>
                <td style="width: 312px; height: 21px">
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 154px">
                    <strong>Resident Addr:</strong></td>
                <td style="width: 312px">
                    <asp:TextBox ID="txtResident" runat="server" Width="280px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Invalid resident address" ControlToValidate="txtResident">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td align="right" style="width: 154px; height: 26px">
                    <strong>Permanent Addr:</strong></td>
                <td style="width: 312px; height: 26px">
                    <asp:TextBox ID="txtEmail" runat="server" Width="280px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 154px; text-align: right">
                    <strong>Telephone:</strong></td>
                <td style="width: 312px">
                    <asp:TextBox ID="txtTelephone" runat="server" Width="111px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTelephone"
                        ErrorMessage="Invalid resident address">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 154px; text-align: right">
                    <strong>Cell phone:</strong></td>
                <td style="width: 312px">
                    <asp:TextBox ID="TextBox7" runat="server" Width="111px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 154px; text-align: right">
                    <strong>Date of Birth:</strong></td>
                <td style="width: 312px">
                    <asp:TextBox ID="txtDOB" runat="server" Width="111px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="CompareValidator"
                        Operator="DataTypeCheck" Type="Date" ControlToValidate="txtDOB">Please enter the valid date (mm/dd/yyyy)</asp:CompareValidator></td>
            </tr>
            <tr>
                <td style="width: 154px; text-align: right">
                    <strong>Gender:</strong></td>
                <td style="width: 312px">
                    <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True">Male</asp:ListItem>
                        <asp:ListItem>Female</asp:ListItem>
                        <asp:ListItem>Other</asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr>
                <td style="width: 154px; text-align: right">
                    <strong>Marital Status:</strong></td>
                <td style="width: 312px">
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" Height="9px" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True">Single</asp:ListItem>
                        <asp:ListItem>Married</asp:ListItem>
                        <asp:ListItem>Other</asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr>
                <td style="width: 154px; text-align: right">
                    <strong>Country:</strong></td>
                <td style="width: 312px">
                    <asp:DropDownList ID="ddlCountry" runat="server" Width="126px">
                        <asp:ListItem>Vietnam</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 154px; height: 26px; text-align: right">
                    <strong>Province:</strong></td>
                <td nowrap="nowrap" style="width: 312px; height: 26px">
                    <asp:DropDownList ID="ddlProvince" runat="server" Width="126px">
                        <asp:ListItem></asp:ListItem>
                        <asp:ListItem Value="HCM">Ho Chi Minh</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlProvince"
                        ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 154px; height: 26px; text-align: right">
                    <strong>Race:</strong></td>
                <td nowrap="nowrap" style="width: 312px; height: 26px">
                    <asp:TextBox ID="TextBox2" runat="server" Width="276px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 154px; height: 26px;">
                </td>
                <td nowrap="nowrap" style="width: 312px; height: 26px;">
                    <asp:Button ID="btnLogin" runat="server" OnClick="btnLogin_Click" Text="Next" Width="58px" />&nbsp;
                    <input id="Button1" style="width: 58px" type="button" value="Back" /></td>
            </tr>
            <tr>
                <td style="width: 154px">
                </td>
                <td nowrap="nowrap" style="width: 312px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
